const util = require("../../../utils/util.js");

Component({
    properties: {
        distributionData: Object
    },
    data: {
        defaultWidth: util.getSystem().windowWidth,  // 微信浏览器宽
    },
    attached: function () {
        console.log(this);
        console.log("1111");
    },
    methods: {
        goProductDetail(e) {
           console.log("e-->",e);
            wx.navigateTo({
              url: `/pages/shop/product/product-detail/index?id=20&type=fx`
            });
        }
    }
});